library _;

import 'dart:convert';
import 'dart:io';

import 'package:dio/dio.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_app/Const/IFinal.dart';
import 'package:flutter_app/Util/App/AppUtils.dart';
import 'package:flutter_yfree/YFree.dart';
import 'package:package_info_plus/package_info_plus.dart';

part 'controller.dart';

class SplashPage extends YPage {
  @override
  void yOnCreate() {
    if (YConfig.DEBUG) yToast("Debug Mode");
    controller_getLine();
  }

  @override
  Widget yBuild(BuildContext context) {
    return Image.asset("images/main/splash.png", width: yScreenSize().width, height: yScreenSize().height, fit: BoxFit.cover);
  }
}
